<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<%@ taglib prefix="sitemesh" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=8,IE=9" />
	<title>${site.title}<sitemesh:title default=""/></title>
	<%@include file="/WEB-INF/views/modules/cms/front/include/head.jsp" %>
	<!-- Baidu tongji analytics --><script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="//hm.baidu.com/hm.js?82116c626a8d504a5c0675073362ef6f";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script>
	<sitemesh:head/>
	<style type="text/css">
		html, body {
  			height: 100%;
		}
		body {
			background:url("${ctxStaticTheme}/images/main_bg.png"); 
		}
		#navtop-inner {
			background:url("${ctxStaticTheme}/images/nav_bg.jpg") repeat-x; 
			min-height:244px;
			border:none;
			filter:none;
		}
		#navtop-container {
			width:998px;
			height:206px;
			margin-top:36px;
/* 			background:url("${ctxStaticTheme}/images/nav_top_bg.png") bottom no-repeat;  */
		}
		#navtop-container .navtop-left {
			width:418px;
			height:206px;
			float:left;
			background:url("${ctxStaticTheme}/images/logo.png") bottom no-repeat;
		}
		#navtop-container .navtop-right {
			width:580px;
			height:206px;
			float:left;
		}
		#navmenu-inner {
			background:#cb1817;
			min-height:52px;
			border:none;
			filter:none;
		}
		#navmenu-container {
			padding-left:35px;
			padding-right:35px;
			width:928px;
			height:52px;
			background:url("${ctxStaticTheme}/images/nav_menu_bg.png") center no-repeat;
			box-shadow: 3px 3px 10px #000;
			-moz-box-shadow: 3px 3px 10px #000;
   	 		-webkit-box-shadow: 3px 3px 10px #000;
    		/* For IE 8 */
    		-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color='#000000')";
		}
		#main_nav {
			margin: 0 !important;
		}
		#main_nav li {
			padding-left: 3px;
			padding-right: 2px;
		}
		#main_nav li a {
			margin-top:10px;
			padding: 8px 10px 8px;
			font-family: SimHei;
			font-size:16px;
			font-weight:bold;
			border: none !important;
		}
  		#main_nav a:hover { 
  			background-color: #efc810; 
  		} 
		#main_nav .active > a,
		#main_nav .active > a:hover,
		#main_nav .active > a:focus {
			background-color: #efc810;
		}
		#main_nav > li > a:focus {
  			background-color: #efc810;
		}
		#main-container-fluid {
			padding-right: 0px;
  			padding-left: 0px;
			min-height:600px;
		}
		.footer {
			position: relative;
			clear:both;
			height: 145px;
			padding-top:20px;
  			/* 白色背景,透明度0.3 */
			background: #fff;
			background: rgba(255, 255, 255, 0.3);
			background: transparent\9;
			filter:alpha(opacity=30);
			zoom:1\8; /* required for the filters */
			-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#46ffffff, endColorstr=#46ffffff)"; /* IE8 */
			filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#46ffffff, endColorstr=#46ffffff); /* IE5.5-7 */
		}
		.copyright {
			padding-top:20px;
			color: white;
			font-family: 'Microsoft YaHei';
			font-weight:400;
			text-align: center;
		}
		#weixinqr {
			padding:5px 5px 5px 5px;
			width: 120px;
			height: 135px;
			position: fixed;
			right: 20px;
			top: 250px;
			background-color:white;
			background-size: contain;
			z-index: 99;
			overflow: hidden;
			text-align: center;
			font: 12px tahoma,'Hiragino Sans GB','Wenquanyi Micro Hei','\5FAE\8F6F\96C5\9ED1',Arial,Verdana,sans-serif;
  			color: #444;
		}
		#weixinqr img {
			width: 100px;
			height: 100px;
			margin-top: 2px;
		}
	</style>
</head>
<body>
	<div class="navbar navbar-fixed-top" style="position:static;padding-bottom:0px;">
      <div id="navtop-inner" class="navbar-inner">
        <div id="navtop-container" class="container">
        	<div class="navtop-left">
        	</div>
        	<div class="navtop-right">
        		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="580" height="206">
				  <param name="movie" value="${ctxStaticTheme}/images/banner.swf" />
				  <param name="quality" value="high" />
				     <embed src="${ctxStaticTheme}/images/banner.swf"
				      quality="high"
				      type="application/x-shockwave-flash"
				      width="580"
				      height="206"
				      pluginspage="http://www.macromedia.com/go/getflashplayer" />
				</object>
        	</div>
        </div>
      </div>
      <div id="navmenu-inner" class="navbar-inner">
      	<div id="navmenu-container" class="container">
	      	<div class="row-fluid">
	            <ul id="main_nav" class="nav nav-pills">
	             	<li class="${not empty isIndex && isIndex ? 'active' : ''}"><a href="${ctx}/index-1${fns:getUrlSuffix()}"><span>${site.id eq '1'?'网站首页':'返回主站'}</span></a></li>
					<c:forEach items="${fnc:getMainNavList(site.id)}" var="category" varStatus="status"><c:if test="${status.index lt 9}">
	                    <c:set var="menuCategoryId" value=",${category.id},"/>
			    		<li class="${requestScope.category.id eq category.id||fn:indexOf(requestScope.category.parentIds,menuCategoryId) ge 1?'active':''}"><a href="${category.url}" target="${category.target}"><span>${category.name}</span></a></li>
			    	</c:if></c:forEach>
	            </ul>
	          </div><!--/.nav-collapse -->
	      </div>
      </div>
    </div>
    <div id="main-container-fluid" class="container-fluid">
		<div class="container">
			<div class="content">
				<sitemesh:body/>
			</div>
	    </div> <!-- /container -->
    </div>
    <div style="height:40px;"></div>
    <div class="footer">
		<div class="container">
			<div class="copyright">
				<p>${site.copyright} &nbsp;&nbsp;地址：青海省海南藏族自治州贵南县境内　邮编：813100 </p>
				<p>联系电话：0974-XXXXXXX/0974-XXXXXXX　电子邮箱： Services@tuolesichina.com</p>
			</div>
		</div>
	</div>
	<span id="weixinqr">
		陀乐寺网站微信公众号
		<img src="${ctxStaticTheme}/images/weixin.jpg">
		<br/>
		欢迎扫一扫，欢迎访问
	</span>
	
</body>
</html>